#!/usr/bin/env python
'''gphone

main file
'''

import sys
import os
import pygtk
pygtk.require("2.0")
import gtk
import gettext

APP_PATH = os.path.abspath(os.path.dirname(sys.argv[0]))
LANG_PATH = APP_PATH + os.sep + "po"

gettext.install("phbook", LANG_PATH, unicode=False)

import Config
import MainWindow

def main():
    '''Start everything'''
    Config.set_bookpath()
    m = MainWindow.MainWindow()


if __name__ == '__main__':
    main()
    gtk.main()
